<template>
  <div class="about">
    <h1>This is an about page</h1>
  </div>
  <div class="form-box">
    <h1>user</h1>
    <p>
      id:{{ user.userinfo.id }}; name: {{ user.userinfo.username }}; password:{{
        user.userinfo.password
      }}; thumb:{{ user.userinfo.thumb }};
    </p>
  </div>
</template>
<script setup>
import { useUserStore } from '@/stores/users'
const user = useUserStore()
</script>
<style>
@media (min-width: 1024px) {
  .about {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}
.form-box {
  width: 500px;
  margin: 100px auto;
}
.form-box .group {
  display: block;
  width: 100%;
  height: 50px;
  line-height: 50px;
}
.group img {
  float: right;
  width: 199px;
  height: 50px;
}
.group input {
  float: left;
  width: 299px;
  height: 50px;
}
.form-box input {
  display: block;
  width: 300px;
  height: 50px;
  line-height: 50px;
  padding: 0 10px;
  border: 1px #d9d9d9 solid;
  border-radius: 5px;
  font-size: 14px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  margin-bottom: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.form-box input[type='submit'],
.form-box input[type='button'] {
  margin-top: 15px;
  font-size: 16px;
  border: 0;
  background-color: #03a9f4;
  color: #fff;
  cursor: pointer;
}
.form-box > div {
  text-align: center;
  line-height: 50px;
  float: right;
}
</style>
